﻿using S.Common.Enums.Archives;
using S.EarTag.Domain.Dto;
using S.EarTag.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.EarTag.Infrastructure.Repository.Interface.IEarTagRepository
{
    /// <summary>
    /// 仓储接口
    /// </summary>
    public interface IEarTagModelRepository:IBaseRepository<EarTagModel>
    {
        Task<List<EarTagModel>> GetEarTagModelsList(string? EarTag, int BreedItem, string? BirthState, string? BindState);
        Task<bool> BatchAddEarTag(List<EarTagModel> model);
        Task<bool> BatchRemoveEarTag(List<int> ids);
        Task<List<EarTagModelDto>> GetEarTagModels();
        Task<List<EarTagModel>> GetEarTag();
        Task<bool> UpdateEarTag(int EarTagId);
        Task<bool> UpdateEarTagState(string EarTag);
        Task<EarTagModel> GetByIdEarTag(int id);
        Task<List<EarTagModel>> GetEarTagids(string? ids);
    }
}
